package com.yfp.machine.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;

import java.io.Serializable;

/**
 * 筛选设备基础数据：请求参数
 *
 * 
 * @date 2023/12/18
 */
@Schema(title = "筛选设备基础数据：请求参数")
public class FilterDeviceInfoVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(title = "设备类型 1二代机 2三代机")
    @NotNull(message = "设备类型不能为空")
    private String machineType;
    @Schema(title = "设备标签")
    @NotNull(message = "设备标签不能为空")
    private String machineLabel;
    @Schema(title = "设备点位类型")
    @NotNull(message = "设备位置类型不能为空")
    private String positionTypeId;
    @Schema(title = "当前页码")
    @NotNull(message = "当前页码不能为空")
    private Integer pageIndex;
    @Schema(title = "每页条数")
    @NotNull(message = "每页条数不能为空")
    private Integer pageSize;

    public String getMachineType() {
        return machineType;
    }

    public void setMachineType(String machineType) {
        this.machineType = machineType;
    }

    public String getMachineLabel() {
        return machineLabel;
    }

    public void setMachineLabel(String machineLabel) {
        this.machineLabel = machineLabel;
    }

    public String getPositionTypeId() {
        return positionTypeId;
    }

    public void setPositionTypeId(String positionTypeId) {
        this.positionTypeId = positionTypeId;
    }

    public Integer getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(Integer pageIndex) {
        this.pageIndex = pageIndex;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
